﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace BW.MesProject.Production.Domain.Model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("PRODUCTIONREPORT")]
    public partial class PRODUCTIONREPORT
    {
           public PRODUCTIONREPORT(){


           }
           /// <summary>
           /// Desc:主键编号
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true, IsIdentity=true)]
           public long ID {get;set;}

           /// <summary>
           /// Desc:编码
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public string PRODUCTIONREPORCODE {get;set;}

           /// <summary>
           /// Desc:时间
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public DateTime? DATETIME {get;set;}

           /// <summary>
           /// Desc:工单号
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public string WORKORDERCODE {get;set;}

           /// <summary>
           /// Desc:工序编码
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public string PRODUCTIONPROCESSESCODE {get;set;}

           /// <summary>
           /// Desc:工序名称
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public string PRODUCTIONPROCESSESNAME {get;set;}

           /// <summary>
           /// Desc:产品名称
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public string PRODUCTNAME {get;set;}

           /// <summary>
           /// Desc:生产人员
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public string PRODUCTIONSTAFF {get;set;}

           /// <summary>
           /// Desc:生产时间
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public string PRODUCTIONTIME {get;set;}

           /// <summary>
           /// Desc:报工数量
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public decimal? REPORTQUANTITY {get;set;}

           /// <summary>
           /// Desc:合格数量
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public decimal? QUALIFIEDQUANTITY {get;set;}

           /// <summary>
           /// Desc:不合格数量
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public decimal? UNQUALIFIEDQUANTITY {get;set;}

           /// <summary>
           /// Desc:附件
           /// Default:
           /// Nullable:True
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public string ATTACHMENT {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public string CREATEBY {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public DateTime? CREATETIME {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public string UPDATEBY {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public DateTime? UPDATETIME {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public bool ISDELETED {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public string PRODUCTCODE {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           [SugarColumn(IsNullable=true)]
           public string PRODUCTSPEC {get;set;}

    }
}
